package com.ruoyi.service;

import com.ruoyi.domain.Volunteers;

import java.util.List;

/**
 * VolunteersService接口
 * 
 * @author wjy
 * @date 2025-01-11
 */
public interface IVolunteersService 
{
    /**
     * 查询Volunteers
     * 
     * @param vid Volunteers主键
     * @return Volunteers
     */
    public Volunteers selectVolunteersByVid(Long vid);

    /**
     * 查询Volunteers列表
     * 
     * @param volunteers Volunteers
     * @return Volunteers集合
     */
    public List<Volunteers> selectVolunteersList(Volunteers volunteers);

    /**
     * 新增Volunteers
     * 
     * @param volunteers Volunteers
     * @return 结果
     */
    public int insertVolunteers(Volunteers volunteers);

    /**
     * 修改Volunteers
     * 
     * @param volunteers Volunteers
     * @return 结果
     */
    public int updateVolunteers(Volunteers volunteers);

    /**
     * 批量删除Volunteers
     * 
     * @param vids 需要删除的Volunteers主键集合
     * @return 结果
     */
    public int deleteVolunteersByVids(Long[] vids);

    /**
     * 删除Volunteers信息
     * 
     * @param vid Volunteers主键
     * @return 结果
     */
    public int deleteVolunteersByVid(Long vid);
}
